﻿<UserControl x:Class="ExcelRSS.RSSControl"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Height="300" Width="300">
    <Grid>
        <ListBox Name="LstFeed">
            <ListBox.ItemTemplate>
                <DataTemplate>
                    <StackPanel Orientation="Vertical" Margin="5">
                        <TextBlock FontSize="18" Foreground="DarkBlue" Text="{Binding Path=Title.Text}" />
                        <Rectangle Height="2" Fill="SlateGray" />
                        <TextBlock Margin="0,5,0,0" MinHeight="50" TextWrapping="Wrap" MaxWidth="350" Text="{Binding Path=Summary.Text}" />
                        <TextBlock Text="{Binding Path=PublishDate}" Foreground="Gray" />
                    </StackPanel>
                </DataTemplate>
            </ListBox.ItemTemplate>
        </ListBox>
    </Grid>
</UserControl>
